import routerView from '@/components/pubComp/routerView.vue'

const pre = 'materialInventory-'
export default {
  path: '/materialInventory',
  name: 'materialInventory',
  meta: {
    title: '资产盘点首页',
  },
  redirect: {
    name: `${pre}index`,
  },
  component: routerView,
  children: [
    {
      path: '/materialInventory/index',
      name: `${pre}index`,
      meta: {
        title: '资产盘点首页',
        closable: false,
      },
      component: () => import('@/views/srvAssurance/materialInventory/index.vue'),
    },
    {
      path: '/materialInventory/result',
      name: `${pre}result`,
      meta: {
        title: '盘点结果',
        closable: false,
      },
      component: () => import('@/views/srvAssurance/materialInventory/result.vue'),
    },
    {
      path: '/materialInventory/areaList',
      name: `${pre}areaList`,
      meta: {
        title: '区域列表',
        closable: false,
      },
      component: () => import('@/views/srvAssurance/materialInventory/areaList.vue'),
    },
    {
      path: '/materialInventory/inventory',
      name: `${pre}inventory`,
      meta: {
        title: '物资盘点',
        closable: false,
      },
      component: () => import('@/views/srvAssurance/materialInventory/inventory.vue'),
    },

  ],
}
